<?php

class asynchronous_Object_Message {

	/* a message is an action posted by another back end where some processing needs to be done. 
	The message gives the detail of which back end should be called and transfer parameters so the back end can perform the action requested
	*/
    
  /* definition of the status table */
  static protected $_dbTemplateTableName = 'statuses';
  static protected $_dbTemplateIdCol = 'id';

  public function __construct($id,$data = array()) {

  } //end __construct

  //This function search for a message in the queue and returns a message object, it returns nothing if there are no messages to process on the queue
  static public function getMessage() {
  
  }
  
  public function process() {
  
  }
  
} //end class